
using System;

namespace stefc.geo.platform
{
	internal static class PlatformFactory
	{
		public static IPlatform Create()
		{ 
			PlatformID platform = System.Environment.OSVersion.Platform;
			switch(platform)
			{
				case PlatformID.Unix:
					return new LinuxPlatform();
					
	/*			case PlatformID.MacOSX:
					return new MacPlatform();
					
				case PlatformID.Win32NT:
				case PlatformID.WinCE:
					return new WindowsPlatform();
	*/				
				default:
					throw new NotImplementedException(platform.ToString());
        	}  
    	}      
	}

	
}
